package datastructure.tests;

import datastructure.deck.Card;
import datastructure.deck.Deck;
import junit.framework.Assert;
import org.junit.Test;

public class DeckTest {
    @Test
    public void createDefCardDeck(){
        Deck deck = new Deck();

        //check size
        Assert.assertEquals(deck.getCards().size() , deck.defaultDeckSize);

        //check priority
        for(Card card: deck.getCards()){
            Assert.assertEquals(true, card.getPriority() > 0);
        }
    }
}
